package cn.com.w.simple.demo.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author songxx
 * @version 1.0
 * @Description: 登录返回结果
 * @create 2021 - 10 - 14 :下午2:24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class LoginResult {
    /**
     * 登录信息
     */
    private String message;

    /**
     * 认证信息
     */
    private String authorization;

    /**
     * 登录状态
     */
    private Integer loginStutas;



    public final static int LOGIN_STUTAS_FAIL = 0;

    public final static int LOGIN_STUTAS_SUCCESS = 1;

    public final static int LOGIN_STUTAS_ERROR = 2;

    public final static int LOGIN_STUTAS_EXPIRED = 3;

}
